import { Component, OnInit } from '@angular/core';

import * as $ from 'jquery';
declare var jquery:any;
// import Swiper from 'swiper';
// declare var swiiper:any;

@Component({
  selector: 'app-info',
  templateUrl: './info.component.html',
  styleUrls: ['./info.component.css']
})
export class InfoComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
    // 首页
	// 搜索显示隐藏
	$(function () {
		$("#input1").mousedown(
			function () {
				$(".search_bomb_box").show()
				$("#waik").hide()
			}
		)
		$(".search_bomb_box .search_top>a").mousedown(
			function () {
				$(".search_bomb_box").hide()
				$("#waik").show()
			}
		)
	})

	// 选择城市
	$("#citypick").click(function () {
		// citypicker();
	}); 
  }

}
